#include "mainwindow.h"
#include "aboutdialog.h"
#include <QApplication>

#include <QPixmap>
#include <QSplashScreen>
#include <QTextCodec>


int main(int argc, char *argv[]){
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    QApplication a(argc, argv);
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));

    QPixmap pixmap(":/image/LOGO.png");
    QSplashScreen splash(pixmap);
    splash.show();
    a.processEvents();

    MainWindow w;
    w.show();


    splash.finish(&w);
    return a.exec();
}
